home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 1 / PC Actual CD 01.iso / share / dos / graficos / plydat14.arj / QUARPARA.PI < prev    next >
Encoding:
Text File  |  1992-02-04  |  731 b   |  31 lines

  1. # Generic Polyray input File
  2. # Polyray input file: Alexander Enzmann
  3.  
  4. # Set up the camera
  5. viewpoint {
  6.    from <0, 5, -5>
  7.    at   <0, 0,  0>
  8.    up   <0, 1,  0>
  9.    angle 30
  10.    resolution 160, 160
  11.    }
  12.  
  13. # Get various surface finishes
  14. include "colors.inc"
  15.  
  16. # Set up background color & lights
  17. background black
  18. light <10, 10, -20>
  19.  
  20. # Quartic parabola - a 4th degree polynomial (has two bumps at the bottom)
  21. # that has been swept around the z axis.
  22. object {
  23.    polynomial 0.1*(x^2 + z^2)^2 - (x^2 + z^2) + 0.9 - y
  24.    root_solver Ferrari
  25.    scale <0.5, 0.5, 0.5>
  26.    bounds object { box <-2, -2, -0.7>, <2, 0.7, 2> }
  27.    clips  object { box <-2, -2, -0.7>, <2, 0.7, 2> }
  28.    rotate <0, -20, 0>
  29.    shiny_red
  30.    }
  31.